const { defineConfig } = require('@vue/cli-service')
const path = require('path');
function resolve (dir) {
    return path.join(__dirname, dir);
}
module.exports = defineConfig({
    transpileDependencies: true
})

module.exports = {
    publicPath: './',
    devServer: {
        // can be overwritten by process.env.HOST
        host: '0.0.0.0',
        port: 8080
    },
    chainWebpack: config => {
        config.resolve.alias
            .set('@', resolve('src'))
            .set('src', resolve('src'))
            .set('common', resolve('src/common'))
            .set('components', resolve('src/components'));
    }
};
